package com.app.bimo.library_db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

@Entity
public class UserData {

    private String nickname;
    private int sex;
    private String avatar;
    private String mobile;
    private int wechat;
    //是否绑定微信。1 已绑定 0 未绑定
    private int qq;
    private int weibo;
    private int taobao;
    private double bookCoin;
    private double money;
    private int coupon;
    //男频 女频
    private int channel;
    private int isVip;
    private int type;//账号类型 1.幽灵账号 2.普通账号


    private String vipTips;
    @Id
    private String uuid;


    @Generated(hash = 2103955375)
    public UserData(String nickname, int sex, String avatar, String mobile,
                    int wechat, int qq, int weibo, int taobao, double bookCoin,
                    double money, int coupon, int channel, int isVip, int type,
                    String vipTips, String uuid) {
        this.nickname = nickname;
        this.sex = sex;
        this.avatar = avatar;
        this.mobile = mobile;
        this.wechat = wechat;
        this.qq = qq;
        this.weibo = weibo;
        this.taobao = taobao;
        this.bookCoin = bookCoin;
        this.money = money;
        this.coupon = coupon;
        this.channel = channel;
        this.isVip = isVip;
        this.type = type;
        this.vipTips = vipTips;
        this.uuid = uuid;
    }

    @Generated(hash = 1838565001)
    public UserData() {
    }


    public String getNickname() {
        return nickname;
    }

    public int getSex() {
        return sex;
    }

    public String getAvatar() {
        return avatar;
    }

    public String getMobile() {
        return mobile;
    }

    public int getWechat() {
        return wechat;
    }

    public int getCoupon() {
        return coupon;
    }

    /**
     * 0，没有设置过偏好  1 设置过男  2 女  3 中性
     *
     * @return
     */
    public int getChannel() {
        return channel;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public void setWechat(int wechat) {
        this.wechat = wechat;
    }

    public int getQq() {
        return qq;
    }

    public void setQq(int qq) {
        this.qq = qq;
    }

    public int getWeibo() {
        return weibo;
    }

    public void setWeibo(int weibo) {
        this.weibo = weibo;
    }

    public int getTaobao() {
        return taobao;
    }

    public void setTaobao(int taobao) {
        this.taobao = taobao;
    }


    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public void setCoupon(int coupon) {
        this.coupon = coupon;
    }

    public void setChannel(int channel) {
        this.channel = channel;
    }

    public int getIsVip() {
        return isVip;
    }

    public void setIsVip(int isVip) {
        this.isVip = isVip;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getVipTips() {
        return this.vipTips;
    }

    public void setVipTips(String vipTips) {
        this.vipTips = vipTips;
    }

    public double getBookCoin() {
        return this.bookCoin;
    }

    public int getBookCoinInt() {
        return (int) this.bookCoin;
    }

    public void setBookCoin(double bookCoin) {
        this.bookCoin = bookCoin;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
